import java.io.Serializable;


public class Packet implements Serializable
{
   enum PacketType
   {
       Broadcasting, SendData, Verify, Terminate
   }
    
    PacketType type;
    Object data;
    
    public Packet(PacketType type, Object data)
    {
        this.type = type;
        this.data = data;
    }
}
